package com.warrior.superdata.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.warrior.superdata.constants.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description:
 * @ClassName: com.warrior.wisdom.machine.room.base.BaseDto.java
 * @date: 2022/2/23 13:32
 * @author xujian
 */
@Data
public class BaseDto extends BasePageDto{

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = CommonConstant.CONSTANT_DATETIME_FORMAT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = CommonConstant.CONSTANT_DATETIME_FORMAT)
    private LocalDateTime updateTime;

}
